package com.quanyan.financialSystem.entity.vo.resp;

import com.quanyan.financialSystem.entity.db.TbBizPlaceBuyContractDetail;
import com.quanyan.place.entity.TbBizPlaceBuyContract;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * Created by Administrator on 2016/10/19.
 *  场租成本返回参数

 */
public class RespPlaceRentCost implements Serializable{
    private static final long serialVersionUID = 5312899745824581250L;

    /**
     * 城市名字
     */
    private String cityName;

    /***
     * 运动类型
     */
    private String categoryName;

    /**
     * 场馆名字
     */
    private String placeName;

    /**
     * 场馆编码
     */
    private String placeCode;

    /**
     * 场馆负责人
     */
    private String contact;

    /**
     * 合同编号
     */
    private String contractNo;

    /**
     * 合同金额
     */
    private BigDecimal totalPrice;

    /**
     * 买入方式
     */
    private Integer buyType;

    /**
     * 开始计租日期
     */
    private String calRentStartTime;

    /**
     * 结束计租日期
     */
    private String calRentEndTime;

    /**
     * 成本日期
     */
    private String costDate;


    private Integer contractId;

    /**
     * 日租成本
     */
    private BigDecimal dayRentPrice = new BigDecimal(0);


    private Integer rentDayNum;


    private String rentTime;


    public String getRentTime() {
        return rentTime;
    }

    public void setRentTime(String rentTime) {
        this.rentTime = rentTime;
    }

    private List<String> lstDetail;

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public String getPlaceName() {
        return placeName;
    }

    public void setPlaceName(String placeName) {
        this.placeName = placeName;
    }

    public String getPlaceCode() {
        return placeCode;
    }

    public void setPlaceCode(String placeCode) {
        this.placeCode = placeCode;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public String getContractNo() {
        return contractNo;
    }

    public void setContractNo(String contractNo) {
        this.contractNo = contractNo;
    }

    public BigDecimal getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(BigDecimal totalPrice) {
        this.totalPrice = totalPrice;
    }

    public Integer getBuyType() {
        return buyType;
    }

    public void setBuyType(Integer buyType) {
        this.buyType = buyType;
    }

    public String getCalRentStartTime() {
        return calRentStartTime;
    }

    public void setCalRentStartTime(String calRentStartTime) {
        this.calRentStartTime = calRentStartTime;
    }

    public String getCalRentEndTime() {
        return calRentEndTime;
    }

    public void setCalRentEndTime(String calRentEndTime) {
        this.calRentEndTime = calRentEndTime;
    }

    public String getCostDate() {
        return costDate;
    }

    public void setCostDate(String costDate) {
        this.costDate = costDate;
    }


    public Integer getContractId() {
        return contractId;
    }

    public void setContractId(Integer contractId) {
        this.contractId = contractId;
    }



    public List<String> getLstDetail() {
        if(this.lstDetail == null)
            lstDetail = new ArrayList<>();
        return lstDetail;
    }

    public void setLstDetail(List<String> lstDetail) {
        this.lstDetail = lstDetail;
    }

    public BigDecimal getDayRentPrice() {
        return dayRentPrice;
    }

    public void setDayRentPrice(BigDecimal dayRentPrice) {
        this.dayRentPrice = dayRentPrice;
    }



    public Integer getRentDayNum() {
        return rentDayNum;
    }

    public void setRentDayNum(Integer rentDayNum) {
        this.rentDayNum = rentDayNum;
    }

    @Override
    public String toString() {
        return "RespPlaceRentCost{" +
                "cityName='" + cityName + '\'' +
                ", categoryName='" + categoryName + '\'' +
                ", placeName='" + placeName + '\'' +
                ", placeCode='" + placeCode + '\'' +
                ", contact='" + contact + '\'' +
                ", contractNo='" + contractNo + '\'' +
                ", totalPrice=" + totalPrice +
                ", buyType=" + buyType +
                ", calRentStartTime=" + calRentStartTime +
                ", calRentEndTime=" + calRentEndTime +
                ", costDate=" + costDate +
                '}';
    }
}
